package com.igeek.config.ch01;


import org.springframework.stereotype.Component;

@Component
public class CountImpl implements ICount{
    @Override
    public int add(int a, int b) {
        int c=a+b;
        System.out.println("a+b="+c);
        return c;
    }

    @Override
    public int div(int a, int b) {
        int c=a/b;
        System.out.println("a/b="+c);
        return c;
    }
}
